]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
timeLimitsManager: Slightly tweak a comment for accuracy
authorIgnacy Kuchciński <ignacykuchcinski@gnome.org>
Wed, 12 Nov 2025 15:55:09 +0000 (15:55 +0000)
committerMarge Bot <marge-bot@gnome.org>
Wed, 12 Nov 2025 16:59:40 +0000 (16:59 +0000)
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3958>

js/misc/timeLimitsManager.js

index 571495142a142c24c3f19933a33912e07ce57683..e1a22f0f82771af122dbd323b6836d2fbbed8ef4 100644 (file)
@@ -962,8 +962,8 @@ export const TimeLimitsManager = GObject.registerClass({
         // scheduling anything until they become active again.
         if (sessionLimitsEnabled) {
             if (nextSessionStart <= nowSecs) {
-                // Just entered daily schedule, so update cached estimated times
-                // which will perform state update afterwards.
+                // Just entered daily schedule or a new day, so update cached
+                // estimated times, which will perform state update afterwards.
                 this._updateEstimatedTimes();
                 return;
             }